package net.cyue.easyconfiguration.node.converter;

import net.cyue.easyconfiguration.node.api.INodeTypeConverter;

import java.util.Arrays;
import java.util.List;

public class ArrayNode2ListConverter<T> implements INodeTypeConverter<T[], List<T>> {
    @Override
    public List<T> convert(T[] value, String... paths) {
        return Arrays.asList(value);
    }
}
